-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path4.3.1.1 (a+b tan)^n.nb
More file actions
5199 lines (5047 loc) · 255 KB
/
4.3.1.1 (a+b tan)^n.nb
File metadata and controls
5199 lines (5047 loc) · 255 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
(* Content-type: application/mathematica *)
(*** Wolfram Notebook File ***)
(* http://www.wolfram.com/nb *)
(* CreatedBy='Mathematica 7.0' *)
(*CacheID: 234*)
(* Internal cache information:
NotebookFileLineBreakTest
NotebookFileLineBreakTest
NotebookDataPosition[ 145, 7]
NotebookDataLength[ 255985, 5190]
NotebookOptionsPosition[ 247683, 4974]
NotebookOutlinePosition[ 249341, 5027]
CellTagsIndexPosition[ 249298, 5024]
WindowFrame->Normal*)
(* Beginning of Notebook Content *)
Notebook[{
Cell[BoxData[Cell[TextData[{
StyleBox["Rules for integrands of the form ",
FontFamily->"Arial"],
Cell[BoxData[
StyleBox[
SuperscriptBox[
RowBox[{"(",
RowBox[{"a", "+",
RowBox[{"b", " ",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}]}], ")"}], "n"],
FontSize->16]],
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193415004828687`*^9,
3.5193415113404875`*^9}, {3.5193513965602303`*^9,
3.519351397420232*^9}, {3.5194037839416766`*^9, 3.5194037847117205`*^9},
3.52105258275843*^9, 3.5210531741726685`*^9, {3.521057461672199*^9,
3.5210574760242243`*^9}, {3.521059881564049*^9, 3.521059886088057*^9}, {
3.5213902158895197`*^9, 3.521390217543123*^9}, {3.521390827878595*^9,
3.521390829376197*^9}, {3.5214688792561245`*^9, 3.521468879443325*^9}, {
3.523320201951167*^9, 3.523320202247567*^9}, {3.5288596764894824`*^9,
3.5288596768094826`*^9}, {3.529196266260353*^9,
3.5291962665099535`*^9}, {3.5291997050223927`*^9,
3.5291997052563934`*^9}, {3.529201346457276*^9, 3.529201347252877*^9}, {
3.529285041073242*^9, 3.5292850412632427`*^9}, {3.529285215443486*^9,
3.529285215443486*^9}, {3.5295115356999426`*^9,
3.5295115433443794`*^9}, {3.529521412127842*^9, 3.529521414647986*^9}, {
3.529529429975619*^9, 3.529529432955224*^9}, 3.5340074894011116`*^9,
3.5415537711400824`*^9, {3.5415538409034047`*^9, 3.541553841106205*^9}, {
3.5415564120531206`*^9, 3.5415564206955357`*^9},
3.5415565488341613`*^9, {3.5415605631516123`*^9,
3.5415605860836525`*^9}, {3.541561323247347*^9, 3.5415613234501476`*^9},
3.5416162115728135`*^9, {3.5416506679001875`*^9, 3.541650687980216*^9},
3.560533948494043*^9, 3.560538006319724*^9, {3.5605392374714475`*^9,
3.5605392382814484`*^9}, 3.5606250606115856`*^9, 3.5617573869745255`*^9,
3.561757856045182*^9, {3.561761339582559*^9, 3.5617613636025925`*^9}, {
3.5617652519980364`*^9, 3.561765252188037*^9}, {3.561767460571129*^9,
3.5617674608411293`*^9}, 3.5621081762414055`*^9, {3.5621084468550806`*^9,
3.5621084519718895`*^9}, 3.563340740121106*^9},
FontSize->12,
FontWeight->"Bold"]
}], "None"]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.4965234353062396`*^9, {3.5193214825316973`*^9, 3.5193214852617016`*^9}, {
3.523316399894187*^9, 3.5233164032341914`*^9}, {3.523318350558202*^9,
3.5233183516382036`*^9}, {3.536542725780803*^9, 3.536542725780803*^9}, {
3.5367764878952584`*^9, 3.5367764886452594`*^9}, {3.544322815209103*^9,
3.5443228192963104`*^9}, {3.5450662624913826`*^9, 3.545066292141424*^9}, {
3.545066402271579*^9, 3.5450664054415827`*^9}, {3.5450834884295015`*^9,
3.5450834895895033`*^9}, {3.5454961263762493`*^9,
3.5454961321462574`*^9}, {3.5454963863166127`*^9,
3.5454964580867133`*^9}, {3.545497046127537*^9, 3.545497046127537*^9}, {
3.5454971130676303`*^9, 3.545497136257663*^9}, 3.545610399977621*^9, {
3.546040778592962*^9, 3.546040778592962*^9}, {3.5461052065706367`*^9,
3.5461052249474688`*^9}, {3.546191339879622*^9, 3.5461913430596266`*^9}, {
3.5462141824067917`*^9, 3.5462142145768366`*^9}, {3.5462145455473003`*^9,
3.5462145601073203`*^9}, {3.5463149785974817`*^9,
3.5463149794195285`*^9}, {3.5488738437683954`*^9,
3.5488738699084315`*^9}, {3.5488890647645535`*^9, 3.548889080804576*^9}, {
3.5505951583099127`*^9, 3.5505951620351257`*^9}, {3.5505952613798075`*^9,
3.5505952630869055`*^9}, {3.5535321133435373`*^9,
3.5535321173537664`*^9}, {3.5536175341411576`*^9,
3.5536175352411594`*^9}, {3.55396599671187*^9, 3.55396599862998*^9}, {
3.560190530310161*^9, 3.560190628512334*^9}, {3.5602162723838596`*^9,
3.5602162793138695`*^9}, {3.5606249190913877`*^9, 3.560624924321395*^9}, {
3.5617663419995623`*^9, 3.5617663705796027`*^9}, {3.5617666456099873`*^9,
3.561766656350003*^9}, {3.562107691486154*^9, 3.5621077390350375`*^9}, {
3.5621080165751247`*^9, 3.5621080185719285`*^9}, {3.5621081511877613`*^9,
3.5621081511877613`*^9}, {3.5633407304210925`*^9, 3.563340730891093*^9}, {
3.575852587746504*^9, 3.575852593256511*^9}, {3.611794746478099*^9,
3.6117947468471203`*^9}},
TextAlignment->Center,
FontWeight->"Bold"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{Cell[TextData[StyleBox["1.",
FontFamily->"Arial"]], "None"], " ",
RowBox[{"\[Integral]",
RowBox[{
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}], ")"}], "n"],
RowBox[{"\[DifferentialD]", "x"}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193415004828687`*^9, 3.5193415113404875`*^9}, {
3.5193513965602303`*^9, 3.519351397420232*^9}, {3.5194037839416766`*^9,
3.5194037847117205`*^9}, 3.52105258275843*^9, 3.5210531741726685`*^9, {
3.521057461672199*^9, 3.5210574760242243`*^9}, {3.521059881564049*^9,
3.521059886088057*^9}, {3.5213902158895197`*^9, 3.521390217543123*^9}, {
3.521390827878595*^9, 3.521390829376197*^9}, {3.5214688792561245`*^9,
3.521468879443325*^9}, {3.523320201951167*^9, 3.523320202247567*^9}, {
3.5288596764894824`*^9, 3.5288596768094826`*^9}, {3.529196266260353*^9,
3.5291962665099535`*^9}, {3.5291997050223927`*^9,
3.5291997052563934`*^9}, {3.529201346457276*^9, 3.529201347252877*^9}, {
3.529285041073242*^9, 3.5292850412632427`*^9}, {3.529285215443486*^9,
3.529285215443486*^9}, {3.5295115356999426`*^9, 3.5295115433443794`*^9}, {
3.529521412127842*^9, 3.529521414647986*^9}, {3.529529429975619*^9,
3.529529432955224*^9}, 3.5340074894011116`*^9, 3.5415537711400824`*^9, {
3.5415538409034047`*^9, 3.541553841106205*^9}, {3.5415564120531206`*^9,
3.5415564206955357`*^9}, 3.5415565488341613`*^9, {3.5415605631516123`*^9,
3.5415605860836525`*^9}, {3.541561323247347*^9, 3.5415613234501476`*^9},
3.5416162115728135`*^9, {3.5416506679001875`*^9, 3.541650687980216*^9},
3.560533948494043*^9, 3.560538006319724*^9, {3.5605392374714475`*^9,
3.5605392382814484`*^9}, 3.5606250606115856`*^9, 3.5617573869745255`*^9,
3.561757856045182*^9, {3.561761339582559*^9, 3.5617613636025925`*^9}, {
3.5617652519980364`*^9, 3.561765252188037*^9}, {3.561767460571129*^9,
3.5617674608411293`*^9}, 3.5621081762414055`*^9, {3.5621084468550806`*^9,
3.5621084519718895`*^9}, {3.5621095850086803`*^9, 3.562109598284303*^9},
3.5633407401411057`*^9, {3.565368261571748*^9, 3.565368261571748*^9}, {
3.5653699708741407`*^9, 3.5653699710741415`*^9}, 3.6117947892695465`*^9, {
3.6239667170507917`*^9, 3.623966717180792*^9}, {3.627681607888446*^9,
3.6276816081784463`*^9}, {3.6276828258498144`*^9, 3.627682826919816*^9}, {
3.6276836725155373`*^9, 3.6276836727755375`*^9}, {3.627684681811106*^9,
3.627684682341507*^9}, {3.6577461225258245`*^9, 3.6577461572908754`*^9}, {
3.664829940226043*^9, 3.6648299406580677`*^9}, {3.6749420470397196`*^9,
3.6749420506159244`*^9}},
FontSize->12,
FontWeight->"Bold"],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\t",
RowBox[{Cell[TextData[StyleBox["1:",
FontFamily->"Arial",
FontColor->RGBColor[1, 0, 0]]], "None"], " ",
RowBox[{"\[Integral]",
RowBox[{
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}], ")"}], "n"],
RowBox[{"\[DifferentialD]", "x"}], " ",
StyleBox["when",
FontFamily->"Arial",
FontWeight->"Plain"],
StyleBox[" ",
FontFamily->"Arial",
FontWeight->"Plain"], Cell[TextData[Cell[BoxData[
RowBox[{"n", ">", "1"}]]]], "None"]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193422443984776`*^9, 3.5193422447260776`*^9},
3.5193424488212357`*^9, {3.5193434708254333`*^9, 3.519343473103037*^9}, {
3.5193435097631016`*^9, 3.51934353169674*^9}, {3.519345739319023*^9,
3.519345739599823*^9}, 3.5193462601259375`*^9, {3.5193475061060295`*^9,
3.5193475233908596`*^9}, {3.519351391880224*^9, 3.5193513931402254`*^9}, {
3.519403773021052*^9, 3.5194037798564425`*^9}, 3.5194106793250647`*^9, {
3.519537578341393*^9, 3.5195375792305946`*^9}, {3.5195376277778797`*^9,
3.51953767927357*^9}, {3.5197586260636144`*^9, 3.5197586260636144`*^9}, {
3.51978053295651*^9, 3.519780542862528*^9}, {3.5197806526087203`*^9,
3.5197806657595434`*^9}, {3.5197807490168896`*^9, 3.5197807642581167`*^9},
3.5197809004619555`*^9, {3.519782653514635*^9, 3.5197826623286505`*^9}, {
3.5200207810164795`*^9, 3.520020785046485*^9}, {3.5213126833374643`*^9,
3.5213126833374643`*^9}, {3.521328235411002*^9, 3.521328235411002*^9}, {
3.523315567893022*^9, 3.523315567893022*^9}, {3.5233157569332867`*^9,
3.5233157613032923`*^9}, {3.5323023198133526`*^9, 3.532302355723403*^9}, {
3.5323026417638035`*^9, 3.5323026417638035`*^9}, {3.5323026980138817`*^9,
3.5323026980138817`*^9}, {3.532636287104328*^9, 3.532636287104328*^9}, {
3.5330803686035347`*^9, 3.533080368863535*^9}, {3.533248909289961*^9,
3.5332489110299635`*^9}, {3.5418136182858934`*^9, 3.541813646495933*^9}, {
3.541885900975107*^9, 3.541885900975107*^9}, {3.5418899389143834`*^9,
3.5418899662244215`*^9}, 3.5418900751945744`*^9, {3.5462974735235267`*^9,
3.546297473743527*^9}, {3.560128588234247*^9, 3.560128589104248*^9}, {
3.560128670294362*^9, 3.560128673044366*^9}, 3.560216297553895*^9,
3.5606251400716968`*^9, {3.561749988629304*^9, 3.56175000739933*^9}, {
3.5617574271745815`*^9, 3.5617574314445877`*^9}, {3.5617576529448977`*^9,
3.5617576570749035`*^9}, 3.56175786139519*^9, {3.561758473228546*^9,
3.561758473638547*^9}, 3.56175857550869*^9, 3.562030419709583*^9, {
3.562086029584165*^9, 3.5620860479702168`*^9}, 3.5620882070428305`*^9, {
3.5620882752329264`*^9, 3.5620882797529325`*^9}, 3.563319597817653*^9,
3.5967352139015026`*^9, 3.611791626309894*^9, 3.623965547576949*^9,
3.623965583897*^9, {3.6277670557684*^9, 3.6277670559712005`*^9}, {
3.664829440921485*^9, 3.664829441572522*^9}, 3.6749418690865417`*^9},
FontSize->12,
FontWeight->"Bold"],
Cell["Reference: G&R 2.510.1, CRC 423, A&S 4.3.129", "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, 3.4975761332771716`*^9, 3.4980704159005556`*^9,
3.4980705234471445`*^9}],
Cell["Reference: G&R 2.510.4, CRC 427, A&S 4.3.130", "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, 3.4975761332771716`*^9, 3.4980704159005556`*^9,
3.4980705234471445`*^9, 3.498074566539677*^9}],
Cell["Derivation: Algebraic expansion", "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, 3.4975761400971813`*^9, 3.4980704231233683`*^9,
3.4980705306387577`*^9, {3.562088636533432*^9, 3.5620886414534388`*^9}}],
Cell[TextData[{
"Basis: ",
Cell[BoxData[
RowBox[{
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[", "z", "]"}]}], ")"}], "n"], "\[Equal]",
RowBox[{
RowBox[{"b", " ", "b", " ",
SuperscriptBox[
RowBox[{"Sec", "[", "z", "]"}], "2"],
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[", "z", "]"}]}], ")"}],
RowBox[{"n", "-", "2"}]]}], "-",
RowBox[{
SuperscriptBox["b", "2"],
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[", "z", "]"}]}], ")"}],
RowBox[{"n", "-", "2"}]]}]}]}]]]
}], "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, {3.497575979956957*^9, 3.4975760172870092`*^9}, {
3.4980703053275614`*^9, 3.4980703053275614`*^9}, 3.4980704431694036`*^9,
3.4980705505911922`*^9, {3.5154520563224115`*^9, 3.515452061602419*^9}, {
3.5607253652972717`*^9, 3.5607253652972717`*^9}, {3.5633262705069947`*^9,
3.5633262705269947`*^9}, {3.56332844563004*^9, 3.56332844563004*^9}, {
3.5633284883601*^9, 3.5633284903201027`*^9}, {3.563465080915405*^9,
3.5634650883778315`*^9}, {3.6239659004376335`*^9, 3.6239659004376335`*^9},
3.6284029558135886`*^9}],
Cell[TextData[{
"Rule: If ",
Cell[BoxData[
RowBox[{"n", ">", "1"}]]],
", then"
}], "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.4964417379912624`*^9, 3.4964417471112747`*^9}, {
3.496441910111503*^9, 3.4964419275315275`*^9}, {3.496441972821591*^9,
3.4964419754615946`*^9}, 3.4964524321966314`*^9, 3.4965289461639547`*^9, {
3.498070579139242*^9, 3.49807059487967*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"\[Integral]",
RowBox[{
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}], ")"}], "n"],
RowBox[{"\[DifferentialD]",
RowBox[{"x", " ", "\[LongRightArrow]", " ",
FractionBox[
RowBox[{"b", " ",
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}], ")"}],
RowBox[{"n", "-", "1"}]]}],
RowBox[{"d", " ",
RowBox[{"(",
RowBox[{"n", "-", "1"}], ")"}]}]]}]}]}]}], "-",
RowBox[{
SuperscriptBox["b", "2"],
RowBox[{"\[Integral]",
RowBox[{
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}], ")"}],
RowBox[{"n", "-", "2"}]],
RowBox[{"\[DifferentialD]", "x"}]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{{3.4796579732027807`*^9, 3.479658002474872*^9}, {
3.4796580599975853`*^9, 3.4796580609489536`*^9}, {3.479658295195784*^9,
3.47965829684816*^9}, 3.4796611938939075`*^9, 3.4796613924794593`*^9, {
3.479661443342597*^9, 3.479661446647349*^9}, {3.479661576554146*^9,
3.479661589302477*^9}, 3.479661847553824*^9, {3.4796622294729967`*^9,
3.4796622450654173`*^9}, {3.479686720424531*^9, 3.4796867204345455`*^9}, {
3.4796874646646957`*^9, 3.4796874745589232`*^9}, {3.492826573513727*^9,
3.492826578630536*^9}, {3.4928267070863624`*^9, 3.492826707460763*^9},
3.4928267903497095`*^9, {3.492829799151373*^9, 3.4928299617216005`*^9}, {
3.4940972077187414`*^9, 3.4940972347887793`*^9}, {3.496441851501421*^9,
3.496441872881451*^9}, {3.496528916553913*^9, 3.4965289272239285`*^9}, {
3.497576165747217*^9, 3.4975761801372375`*^9}, {3.4980703789284906`*^9,
3.4980703957921205`*^9}, {3.4980704970362988`*^9, 3.498070514508329*^9}, {
3.515452173602576*^9, 3.515452194482605*^9}, {3.5624327916576467`*^9,
3.562432793447649*^9}, {3.5624328902477846`*^9, 3.5624328926977882`*^9}, {
3.562432989877924*^9, 3.562432992597928*^9}, {3.5624332822983336`*^9,
3.562433283508335*^9}, {3.563326270536995*^9, 3.563326270556995*^9}, {
3.563328263369785*^9, 3.5633282687197924`*^9}, {3.563464319582859*^9,
3.5634643196028605`*^9}, {3.5634651254429517`*^9,
3.5634651466101627`*^9}, {3.6239655839069996`*^9, 3.623965583927*^9}, {
3.6239659140776525`*^9, 3.623965918307658*^9}},
TextAlignment->Center,
FontSize->12,
FontWeight->"Bold"],
Cell["Program code:", "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.492804314166378*^9, 3.4928043441496305`*^9}, {
3.4928044532166224`*^9, 3.492804453513023*^9}, {3.492805162266266*^9,
3.492805165713872*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b_.", "*",
RowBox[{"tan", "[",
RowBox[{"c_.", "+",
RowBox[{"d_.", "*", "x_"}]}], "]"}]}], ")"}], "^", "n_"}], ",",
"x_Symbol"}], "]"}], " ", ":=", "\n", " ",
RowBox[{
RowBox[{
RowBox[{"b", "*",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b", "*",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", "*", "x"}]}], "]"}]}], ")"}], "^",
RowBox[{"(",
RowBox[{"n", "-", "1"}], ")"}]}], "/",
RowBox[{"(",
RowBox[{"d", "*",
RowBox[{"(",
RowBox[{"n", "-", "1"}], ")"}]}], ")"}]}]}], " ", "-", " ", "\n",
" ",
RowBox[{
RowBox[{"b", "^", "2"}], "*",
RowBox[{"Int", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b", "*",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", "*", "x"}]}], "]"}]}], ")"}], "^",
RowBox[{"(",
RowBox[{"n", "-", "2"}], ")"}]}], ",", "x"}], "]"}]}]}], " ", "/;",
"\n",
RowBox[{
RowBox[{"FreeQ", "[",
RowBox[{
RowBox[{"{",
RowBox[{"b", ",", "c", ",", "d"}], "}"}], ",", "x"}], "]"}], " ", "&&",
" ",
RowBox[{"GtQ", "[",
RowBox[{"n", ",", "1"}], "]"}]}]}]}]], "Code",
CellChangeTimes->{{3.494097279728842*^9, 3.494097309778884*^9},
3.496441834031397*^9, 3.496442095051762*^9, 3.496528791863739*^9,
3.496528888643874*^9, 3.497575939976901*^9, 3.4975761146971455`*^9,
3.498070265173091*^9, 3.498070375231284*^9, 3.498070474665859*^9,
3.515452039762388*^9, 3.56072507141686*^9, {3.5607251880870237`*^9,
3.560725190647027*^9}, 3.5620911587469635`*^9, {3.56243279411765*^9,
3.562432799127657*^9}, {3.5624328958477926`*^9, 3.562432899447798*^9}, {
3.5624329958279324`*^9, 3.562432999897938*^9}, {3.562433105518086*^9,
3.5624331282081175`*^9}, {3.5633262705669947`*^9, 3.563326270586995*^9}, {
3.563328272379798*^9, 3.5633282757998023`*^9}, 3.5634644660622373`*^9,
3.563464507109585*^9, 3.563464554140275*^9, {3.563464585053043*^9,
3.563464585057043*^9}, {3.563465132323345*^9, 3.563465154944639*^9},
3.563465234992217*^9, 3.5641096295006433`*^9, 3.596735750312254*^9, {
3.6239656215280533`*^9, 3.6239656215380535`*^9}, {3.6239656581081047`*^9,
3.623965730191206*^9}, {3.62396595527571*^9, 3.623965964915724*^9},
3.7153785218185525`*^9},
Background->GrayLevel[0.85]],
Cell["", "Subsubsection",
CellDingbat->None,
CellChangeTimes->{3.4796643211106243`*^9}]
}, Closed]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\t",
RowBox[{Cell[TextData[StyleBox["2:",
FontFamily->"Arial",
FontColor->RGBColor[1, 0, 0]]], "None"], " ",
RowBox[{"\[Integral]",
RowBox[{
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}], ")"}], "n"],
RowBox[{"\[DifferentialD]", "x"}], " ",
StyleBox["when",
FontFamily->"Arial",
FontWeight->"Plain"],
StyleBox[" ",
FontFamily->"Arial",
FontWeight->"Plain"], Cell[TextData[Cell[BoxData[
RowBox[{"n", "<",
RowBox[{"-", "1"}]}]]]], "None"]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193422443984776`*^9, 3.5193422447260776`*^9},
3.5193424488212357`*^9, {3.5193434708254333`*^9, 3.519343473103037*^9}, {
3.5193435097631016`*^9, 3.51934353169674*^9}, {3.519345739319023*^9,
3.519345739599823*^9}, 3.5193462601259375`*^9, {3.5193475061060295`*^9,
3.5193475233908596`*^9}, {3.519351391880224*^9, 3.5193513931402254`*^9}, {
3.519403773021052*^9, 3.5194037798564425`*^9}, 3.5194106793250647`*^9, {
3.519537578341393*^9, 3.5195375792305946`*^9}, {3.5195376277778797`*^9,
3.51953767927357*^9}, {3.5197586260636144`*^9, 3.5197586260636144`*^9}, {
3.51978053295651*^9, 3.519780542862528*^9}, {3.5197806526087203`*^9,
3.5197806657595434`*^9}, {3.5197807490168896`*^9, 3.5197807642581167`*^9},
3.5197809004619555`*^9, {3.519782653514635*^9, 3.5197826623286505`*^9}, {
3.5200207810164795`*^9, 3.520020785046485*^9}, {3.5213126833374643`*^9,
3.5213126833374643`*^9}, {3.521328235411002*^9, 3.521328235411002*^9}, {
3.523315567893022*^9, 3.523315567893022*^9}, {3.5233157569332867`*^9,
3.5233157613032923`*^9}, {3.5323023198133526`*^9, 3.532302355723403*^9}, {
3.5323026417638035`*^9, 3.5323026417638035`*^9}, {3.5323026980138817`*^9,
3.5323026980138817`*^9}, {3.532636287104328*^9, 3.532636287104328*^9}, {
3.5330803686035347`*^9, 3.533080368863535*^9}, {3.533248909289961*^9,
3.5332489110299635`*^9}, {3.5418136182858934`*^9, 3.541813646495933*^9}, {
3.541885900975107*^9, 3.541885900975107*^9}, {3.5418899389143834`*^9,
3.5418899662244215`*^9}, 3.5418900751945744`*^9, {3.5462974735235267`*^9,
3.546297473743527*^9}, {3.560128588234247*^9, 3.560128589104248*^9}, {
3.560128670294362*^9, 3.560128673044366*^9}, 3.560216297553895*^9,
3.5606251400716968`*^9, {3.561749988629304*^9, 3.56175000739933*^9}, {
3.5617574271745815`*^9, 3.5617574314445877`*^9}, {3.5617576529448977`*^9,
3.5617576570749035`*^9}, 3.56175786139519*^9, {3.561758473228546*^9,
3.561758473638547*^9}, 3.56175857550869*^9, 3.562030419709583*^9, {
3.5620860358485236`*^9, 3.562086040791806*^9}, 3.562089174514185*^9, {
3.562089394264493*^9, 3.5620893957144947`*^9}, 3.563319598047653*^9,
3.596735228211523*^9, 3.611791627659896*^9, 3.623965549016951*^9,
3.623965583947*^9, {3.6277671192449117`*^9, 3.627767142722953*^9}, {
3.6648294258206205`*^9, 3.664829444577694*^9}, 3.674941869857586*^9},
FontSize->12,
FontWeight->"Bold"],
Cell["Reference: G&R 2.510.4, CRC 427'", "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, 3.4975761332771716`*^9, 3.4980704159005556`*^9,
3.4980705234471445`*^9, 3.4980706229285192`*^9}],
Cell["Reference: G&R 2.510.1, CRC 423'", "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, 3.4975761332771716`*^9, 3.4980704159005556`*^9,
3.4980705234471445`*^9, 3.4980706229285192`*^9, 3.4980746553198013`*^9}],
Cell["Derivation: Algebraic expansion", "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, 3.4975761400971813`*^9, 3.4980704231233683`*^9,
3.4980705306387577`*^9, {3.562088636533432*^9, 3.5620886414534388`*^9}}],
Cell[TextData[{
"Basis: ",
Cell[BoxData[
RowBox[{
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[", "z", "]"}]}], ")"}], "n"], "\[Equal]",
RowBox[{
RowBox[{
SuperscriptBox[
RowBox[{"Sec", "[", "z", "]"}], "2"],
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[", "z", "]"}]}], ")"}], "n"]}], "-",
RowBox[{
FractionBox["1",
SuperscriptBox["b", "2"]],
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[", "z", "]"}]}], ")"}],
RowBox[{"n", "+", "2"}]]}]}]}]]]
}], "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, {3.497575979956957*^9, 3.4975760172870092`*^9}, {
3.4980703053275614`*^9, 3.4980703053275614`*^9}, 3.4980704431694036`*^9,
3.4980705505911922`*^9, {3.5154520563224115`*^9, 3.515452061602419*^9}, {
3.5607253652972717`*^9, 3.5607253652972717`*^9}, {3.562088647893448*^9,
3.562088647893448*^9}, {3.563319597827653*^9, 3.5633195978476534`*^9}, {
3.563323572123217*^9, 3.563323575393222*^9}, {3.563323915493698*^9,
3.563323940053732*^9}, {3.5633286536503315`*^9, 3.563328690050382*^9}, {
3.5633288013105383`*^9, 3.5633288013105383`*^9}, {3.563465197780089*^9,
3.5634652025023594`*^9}, {3.6239660439458346`*^9, 3.6239660439458346`*^9}}],
Cell[TextData[{
"Rule: If ",
Cell[BoxData[
RowBox[{"n", "<",
RowBox[{"-", "1"}]}]]],
", then"
}], "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.4964417379912624`*^9, 3.4964417471112747`*^9}, {
3.496441910111503*^9, 3.4964419275315275`*^9}, {3.496441972821591*^9,
3.4964419754615946`*^9}, 3.4964524321966314`*^9, 3.4965289461639547`*^9, {
3.498070579139242*^9, 3.49807059487967*^9}, {3.4980707881328096`*^9,
3.4980707891624117`*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"\[Integral]",
RowBox[{
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}], ")"}], "n"],
RowBox[{"\[DifferentialD]",
RowBox[{"x", " ", "\[LongRightArrow]", " ",
FractionBox[
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}], ")"}],
RowBox[{"n", "+", "1"}]],
RowBox[{"b", " ", "d",
RowBox[{"(",
RowBox[{"n", "+", "1"}], ")"}]}]]}]}]}]}], "-",
RowBox[{
FractionBox["1",
SuperscriptBox["b", "2"]],
RowBox[{"\[Integral]",
RowBox[{
SuperscriptBox[
RowBox[{"(",
RowBox[{"b", " ",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}], ")"}],
RowBox[{"n", "+", "2"}]],
RowBox[{"\[DifferentialD]", "x"}]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{{3.4796579732027807`*^9, 3.479658002474872*^9}, {
3.4796580599975853`*^9, 3.4796580609489536`*^9}, {3.479658295195784*^9,
3.47965829684816*^9}, 3.4796611938939075`*^9, 3.4796613924794593`*^9, {
3.479661443342597*^9, 3.479661446647349*^9}, {3.479661576554146*^9,
3.479661589302477*^9}, 3.479661847553824*^9, {3.4796622294729967`*^9,
3.4796622450654173`*^9}, {3.479686720424531*^9, 3.4796867204345455`*^9}, {
3.4796874646646957`*^9, 3.4796874745589232`*^9}, {3.492826573513727*^9,
3.492826578630536*^9}, {3.4928267070863624`*^9, 3.492826707460763*^9},
3.4928267903497095`*^9, {3.492829799151373*^9, 3.4928299617216005`*^9}, {
3.4940972077187414`*^9, 3.4940972347887793`*^9}, {3.496441851501421*^9,
3.496441872881451*^9}, {3.496528916553913*^9, 3.4965289272239285`*^9}, {
3.497576165747217*^9, 3.4975761801372375`*^9}, {3.4980703789284906`*^9,
3.4980703957921205`*^9}, {3.4980704970362988`*^9, 3.498070514508329*^9},
3.498070660243785*^9, {3.515452175202578*^9, 3.5154522068326225`*^9}, {
3.5624328110576735`*^9, 3.5624328133176765`*^9}, {3.5624329099778123`*^9,
3.5624329130878167`*^9}, {3.5624330210579677`*^9, 3.562433024817973*^9}, {
3.562433105548086*^9, 3.562433105558086*^9}, {3.562433137798131*^9,
3.562433141318136*^9}, {3.5633262706369953`*^9, 3.5633262706569953`*^9},
3.5633285867502375`*^9, {3.563464319647863*^9, 3.563464319667864*^9}, {
3.5634651895676193`*^9, 3.5634651913377204`*^9}, {3.623965583967*^9,
3.623965583987*^9}, {3.6239660575258536`*^9, 3.6239660593058558`*^9}},
TextAlignment->Center,
FontSize->12,
FontWeight->"Bold"],
Cell["Program code:", "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.492804314166378*^9, 3.4928043441496305`*^9}, {
3.4928044532166224`*^9, 3.492804453513023*^9}, {3.492805162266266*^9,
3.492805165713872*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b_.", "*",
RowBox[{"tan", "[",
RowBox[{"c_.", "+",
RowBox[{"d_.", "*", "x_"}]}], "]"}]}], ")"}], "^", "n_"}], ",",
"x_Symbol"}], "]"}], " ", ":=", "\n", " ",
RowBox[{
RowBox[{
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b", "*",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", "*", "x"}]}], "]"}]}], ")"}], "^",
RowBox[{"(",
RowBox[{"n", "+", "1"}], ")"}]}], "/",
RowBox[{"(",
RowBox[{"b", "*", "d", "*",
RowBox[{"(",
RowBox[{"n", "+", "1"}], ")"}]}], ")"}]}], " ", "-", " ", "\n", " ",
RowBox[{
RowBox[{"1", "/",
RowBox[{"b", "^", "2"}]}], "*",
RowBox[{"Int", "[",
RowBox[{
RowBox[{
RowBox[{"(",
RowBox[{"b", "*",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", "*", "x"}]}], "]"}]}], ")"}], "^",
RowBox[{"(",
RowBox[{"n", "+", "2"}], ")"}]}], ",", "x"}], "]"}]}]}], " ", "/;",
"\n",
RowBox[{
RowBox[{"FreeQ", "[",
RowBox[{
RowBox[{"{",
RowBox[{"b", ",", "c", ",", "d"}], "}"}], ",", "x"}], "]"}], " ", "&&",
" ",
RowBox[{"LtQ", "[",
RowBox[{"n", ",",
RowBox[{"-", "1"}]}], "]"}]}]}]}]], "Code",
CellChangeTimes->{{3.494097279728842*^9, 3.494097309778884*^9},
3.496441834031397*^9, 3.496442095051762*^9, 3.496528791863739*^9,
3.496528888643874*^9, 3.497575939976901*^9, 3.4975761146971455`*^9,
3.498070265173091*^9, 3.498070375231284*^9, 3.498070474665859*^9,
3.4980706418045526`*^9, 3.515452148892541*^9, 3.5607250768868675`*^9, {
3.5607251962270346`*^9, 3.5607251985570383`*^9}, 3.5620911609169664`*^9, {
3.5624328139076777`*^9, 3.562432819057685*^9}, {3.5624329173378224`*^9,
3.562432921117828*^9}, {3.562433028297978*^9, 3.562433032327984*^9}, {
3.5624331055680857`*^9, 3.562433152598152*^9}, {3.563326270666995*^9,
3.5633262706769953`*^9}, 3.5633286201702843`*^9, 3.5634644661072397`*^9, {
3.563464530989951*^9, 3.563464554159276*^9}, {3.5634645850770445`*^9,
3.563464585081045*^9}, 3.563465212880953*^9, {3.563465261380727*^9,
3.563465291019422*^9}, 3.564109629520643*^9, 3.596735762522271*^9, {
3.623965621598053*^9, 3.623965621598053*^9}, {3.6239656602681074`*^9,
3.623965732411209*^9}, {3.6239661032769184`*^9, 3.6239661075569243`*^9}, {
3.6239661460809793`*^9, 3.623966163550004*^9}, 3.7153785384275026`*^9},
Background->GrayLevel[0.85]],
Cell["", "Subsubsection",
CellDingbat->None,
CellChangeTimes->{3.4796643211106243`*^9}]
}, Closed]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\t",
RowBox[{Cell[TextData[StyleBox["3:",
FontFamily->"Arial",
FontColor->RGBColor[1, 0, 0]]], "None"], " ",
RowBox[{"\[Integral]",
RowBox[{
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}],
RowBox[{"\[DifferentialD]", "x"}]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193422443984776`*^9, 3.5193422447260776`*^9},
3.5193424488212357`*^9, {3.5193434708254333`*^9, 3.519343473103037*^9}, {
3.5193435097631016`*^9, 3.51934353169674*^9}, {3.519345739319023*^9,
3.519345739599823*^9}, 3.5193462601259375`*^9, {3.5193475061060295`*^9,
3.5193475233908596`*^9}, {3.519351391880224*^9, 3.5193513931402254`*^9}, {
3.519403773021052*^9, 3.5194037798564425`*^9}, 3.5194106793250647`*^9, {
3.519537578341393*^9, 3.5195375792305946`*^9}, {3.5195376277778797`*^9,
3.51953767927357*^9}, {3.5197586260636144`*^9, 3.5197586260636144`*^9}, {
3.51978053295651*^9, 3.519780542862528*^9}, {3.5197806526087203`*^9,
3.5197806657595434`*^9}, {3.5197807490168896`*^9, 3.5197807642581167`*^9},
3.5197809004619555`*^9, {3.519782653514635*^9, 3.5197826623286505`*^9}, {
3.5200207810164795`*^9, 3.520020785046485*^9}, {3.5213126833374643`*^9,
3.5213126833374643`*^9}, {3.521328235411002*^9, 3.521328235411002*^9}, {
3.523315567893022*^9, 3.523315567893022*^9}, {3.5233157569332867`*^9,
3.5233157613032923`*^9}, {3.5323023198133526`*^9, 3.532302355723403*^9}, {
3.5323026417638035`*^9, 3.5323026417638035`*^9}, {3.5323026980138817`*^9,
3.5323026980138817`*^9}, {3.532636287104328*^9, 3.532636287104328*^9}, {
3.5330803686035347`*^9, 3.533080368863535*^9}, {3.533248909289961*^9,
3.5332489110299635`*^9}, {3.5418136182858934`*^9, 3.541813646495933*^9}, {
3.541885900975107*^9, 3.541885900975107*^9}, {3.5418899389143834`*^9,
3.5418899662244215`*^9}, 3.5418900751945744`*^9, {3.5462974735235267`*^9,
3.546297473743527*^9}, {3.560128588234247*^9, 3.560128589104248*^9}, {
3.560128670294362*^9, 3.560128673044366*^9}, 3.560216297553895*^9,
3.5606251400716968`*^9, {3.561749988629304*^9, 3.56175000739933*^9}, {
3.561757406424553*^9, 3.561757409304557*^9}, 3.561757856795183*^9, {
3.5617585140686035`*^9, 3.561758517138608*^9}, 3.5620304165895786`*^9,
3.5620860122311726`*^9, 3.5620881076726913`*^9, 3.563319597727653*^9,
3.611791625779893*^9, 3.623965547066948*^9, 3.6239655957670164`*^9,
3.627682854823862*^9, 3.627683442643109*^9, {3.627683669636532*^9,
3.6276836699995327`*^9}, {3.6648294485889235`*^9, 3.664829449076951*^9},
3.6749418703866158`*^9},
FontSize->12,
FontWeight->"Bold"],
Cell["Reference: G&R 2.526.17, CRC 292, A&S 4.3.115", "Subsubsection",
CellChangeTimes->{
3.479686820458373*^9, {3.490657960122612*^9, 3.49065796095366*^9},
3.4964414996009283`*^9, {3.4964447088058186`*^9, 3.4964447131058245`*^9},
3.496528844063812*^9, 3.497575950496916*^9, 3.498070277840313*^9}],
Cell["Reference: G&R 2.526.33, CRC 293, A&S 4.3.118", "Subsubsection",
CellChangeTimes->{
3.479686820458373*^9, {3.490657960122612*^9, 3.49065796095366*^9},
3.4964414996009283`*^9, {3.4964447088058186`*^9, 3.4964447131058245`*^9},
3.496528844063812*^9, 3.497575950496916*^9, 3.498070277840313*^9,
3.4980744596095276`*^9}],
Cell["Derivation: Integration by substitution", "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, 3.497575979956957*^9, 3.4980702864359283`*^9, {
3.567448483323786*^9, 3.5674484889637938`*^9}}],
Cell[TextData[{
"Basis: ",
Cell[BoxData[
RowBox[{
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}], "\[Equal]",
RowBox[{
RowBox[{"-",
FractionBox["1",
RowBox[{"d", " ",
RowBox[{"Cos", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}]]}],
RowBox[{
SubscriptBox["\[PartialD]", "x"],
RowBox[{"Cos", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]}]}]}]]]
}], "Subsubsection",
CellChangeTimes->{
3.4964418130913677`*^9, {3.496442428087432*^9, 3.4964424330170403`*^9},
3.496528894323882*^9, {3.497575979956957*^9, 3.4975760172870092`*^9}, {
3.4980703053275614`*^9, 3.4980703053275614`*^9}, {3.515451911012208*^9,
3.515451914372213*^9}, {3.560725337807233*^9, 3.560725338777234*^9}, {
3.563319597737653*^9, 3.563319597757653*^9}, {3.563323148402624*^9,
3.5633231500926266`*^9}, {3.5633231823526716`*^9, 3.563323191232684*^9}, {
3.5674484953038025`*^9, 3.5674484992638083`*^9}, {3.6239655957770166`*^9,
3.6239655957870164`*^9}, {3.6239657856122837`*^9, 3.6239657856122837`*^9}}],
Cell["Rule:", "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.4964417379912624`*^9, 3.4964417471112747`*^9}, {
3.496441910111503*^9, 3.4964419275315275`*^9}, 3.496451213764926*^9,
3.496528833243797*^9}],
Cell[BoxData[
RowBox[{"\[Integral]",
RowBox[{
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}],
RowBox[{"\[DifferentialD]",
RowBox[{"x", " ", "\[LongRightArrow]", " ",
RowBox[{"-",
FractionBox[
RowBox[{"Log", "[",
RowBox[{"Cos", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}], "]"}],
"d"]}]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{{3.4796579723816*^9, 3.4796580261689425`*^9},
3.479661191290163*^9, {3.479686720164157*^9, 3.479686720204214*^9}, {
3.479686831554328*^9, 3.479686834819022*^9}, {3.4940970712485504`*^9,
3.4940971130286083`*^9}, 3.4940971455886545`*^9, 3.49644160092107*^9,
3.496441663571158*^9, {3.496528814953771*^9, 3.4965288223737817`*^9},
3.497576045657049*^9, 3.497576089857111*^9, {3.498070321988391*^9,
3.498070327557601*^9}, {3.5154519262822294`*^9, 3.5154519320322375`*^9}, {
3.563319597767653*^9, 3.563319597777653*^9}, 3.5633230668925095`*^9, {
3.623965595797016*^9, 3.623965595797016*^9}, 3.6239658009053063`*^9},
TextAlignment->Center,
FontSize->12,
FontWeight->"Bold"],
Cell["Program code:", "Subsubsection",
CellDingbat->"\[FilledSmallSquare]",
CellChangeTimes->{{3.4794189093216*^9, 3.479418932274605*^9}, {
3.479418981395237*^9, 3.4794189822564754`*^9}, {3.4794192068193808`*^9,
3.4794192077607346`*^9}, 3.479420089138093*^9, {3.479420130978256*^9,
3.4794201410627565`*^9}, {3.479420560345656*^9, 3.479420578171288*^9}, {
3.479420683943381*^9, 3.4794206847645617`*^9}, {3.4794210347678413`*^9,
3.4794210503903055`*^9}, 3.4803613662913427`*^9, {3.480361406058525*^9,
3.48036141974821*^9}, {3.4803614672865667`*^9, 3.480361474717252*^9},
3.4807050675119123`*^9, {3.492804314166378*^9, 3.4928043441496305`*^9}, {
3.4928044532166224`*^9, 3.492804453513023*^9}, {3.492805162266266*^9,
3.492805165713872*^9}}],
Cell[BoxData[
RowBox[{
RowBox[{"Int", "[",
RowBox[{
RowBox[{"tan", "[",
RowBox[{"c_.", "+",
RowBox[{"d_.", "*", "x_"}]}], "]"}], ",", "x_Symbol"}], "]"}], " ", ":=",
"\n", " ",
RowBox[{
RowBox[{
RowBox[{"-",
RowBox[{"Log", "[",
RowBox[{"RemoveContent", "[",
RowBox[{
RowBox[{"Cos", "[",
RowBox[{"c", "+",
RowBox[{"d", "*", "x"}]}], "]"}], ",", "x"}], "]"}], "]"}]}], "/",
"d"}], " ", "/;", "\n",
RowBox[{"FreeQ", "[",
RowBox[{
RowBox[{"{",
RowBox[{"c", ",", "d"}], "}"}], ",", "x"}], "]"}]}]}]], "Code",
CellChangeTimes->{{3.494097165958683*^9, 3.4940971894087152`*^9}, {
3.4940972668388243`*^9, 3.4940972723188314`*^9}, 3.4964415782510386`*^9,
3.4965287890937347`*^9, 3.4975759366868963`*^9, 3.498070271459902*^9,
3.5154518875221753`*^9, {3.563319597787653*^9, 3.563319597787653*^9},
3.563323048152484*^9, 3.5641089136756387`*^9, {3.570299397543764*^9,
3.5702993999937677`*^9}, 3.6239656182680483`*^9, {3.623965656828102*^9,
3.623965686611145*^9}, 3.623965802825309*^9},
Background->GrayLevel[0.85]],
Cell["", "Subsubsection",
CellDingbat->None,
CellChangeTimes->{3.4796643211106243`*^9}]
}, Closed]],
Cell[CellGroupData[{
Cell[BoxData[
RowBox[{"\t",
RowBox[{Cell[TextData[StyleBox["x:",
FontFamily->"Arial",
FontColor->RGBColor[1, 0, 0]]], "None"], " ",
RowBox[{"\[Integral]",
RowBox[{
FractionBox["1",
RowBox[{"Tan", "[",
RowBox[{"c", "+",
RowBox[{"d", " ", "x"}]}], "]"}]],
RowBox[{"\[DifferentialD]", "x"}]}]}]}]}]], "Subsubtitle",
CellDingbat->None,
CellChangeTimes->{
3.477935275784027*^9, {3.477935350060832*^9, 3.477935352384173*^9}, {
3.477935393803731*^9, 3.477935400102789*^9}, {3.477935515378547*^9,
3.47793552034569*^9}, 3.478120029940968*^9, {3.479318860690858*^9,
3.47931886615872*^9}, {3.4794185033278093`*^9, 3.479418503918659*^9},
3.4795122294117584`*^9, {3.479615913307893*^9, 3.4796159352794867`*^9},
3.4796160386581373`*^9, 3.4796867204045024`*^9, {3.4928025699585147`*^9,
3.492802570130115*^9}, 3.492822274480175*^9, 3.492825822242408*^9, {
3.4940970615585365`*^9, 3.494097062168537*^9}, {3.496441349250718*^9,
3.496441349830719*^9}, 3.4964414848609076`*^9, 3.496521708137803*^9, {
3.4965218981240697`*^9, 3.49652189838407*^9}, 3.4965229070755*^9,
3.519247079685614*^9, {3.5193208582062006`*^9, 3.5193208612170057`*^9},
3.5193325694253187`*^9, {3.5193422443984776`*^9, 3.5193422447260776`*^9},
3.5193424488212357`*^9, {3.5193434708254333`*^9, 3.519343473103037*^9}, {
3.5193435097631016`*^9, 3.51934353169674*^9}, {3.519345739319023*^9,
3.519345739599823*^9}, 3.5193462601259375`*^9, {3.5193475061060295`*^9,
3.5193475233908596`*^9}, {3.519351391880224*^9, 3.5193513931402254`*^9}, {
3.519403773021052*^9, 3.5194037798564425`*^9}, 3.5194106793250647`*^9, {
3.519537578341393*^9, 3.5195375792305946`*^9}, {3.5195376277778797`*^9,